package at.im.utils;

public class Game 
{
	int 		m_gameid;
	int 		m_userid;
	String 		m_name;
	int 		m_spriteid;
	String 		m_timestamp;
	int			m_tilesetid;
	int			m_foregroundlayerid;
	int			m_centerlayerid;
	int			m_backgroundlayerid;
	String		m_backgroundimage;
	int[]		m_entities;
	
	public Game()
	{}
	
	public Game(int gameid, int userid, String name, int spriteid, String timestamp, int tilesetid, int foregroundlayerid, int centerlayerid, 
						int backgroundlayerid, String backgroundimage, int[] entities)
	{
		m_gameid 			= gameid;
		m_userid 			= userid;
		m_name 				= name;
		m_spriteid 			= spriteid;
		m_timestamp 		= timestamp;
		m_tilesetid			= tilesetid;
		m_foregroundlayerid = foregroundlayerid;
		m_centerlayerid		= centerlayerid;
		m_backgroundlayerid	= backgroundlayerid;
		m_backgroundimage 	= backgroundimage;
		m_entities			= entities;
	}
	
	public void setEntities(int[] entities)
	{
		m_entities = entities;
	}
	
	public int[] getEntities()
	{
		return m_entities;
	}
	
	public void setBackgroundImage(String backgroundimage)
	{
		m_backgroundimage = backgroundimage;
	}
	
	public String getBackgroundImage()
	{
		return m_backgroundimage;
	}
	
	public void setBackgroundlayerId(int id)
	{
		m_backgroundlayerid = id;
	}
	
	public int getBackgroundlayerId()
	{
		return m_backgroundlayerid;
	}
	
	public void setCenterlayoutId(int id)
	{
		m_centerlayerid = id;
	}
	
	public int getCenterlayoutId()
	{
		return m_centerlayerid;
	}
	
	public void setForegroundlayerId(int id)
	{
		m_foregroundlayerid = id;
	}
	
	public int getForegroundlayerId()
	{
		return m_foregroundlayerid;
	}
	
	public void setGameId(int id)
	{
		m_gameid = id;
	}
	
	public int getGameId()
	{
		return m_gameid;
	}
	
	public void setTilesetId(int id)
	{
		m_tilesetid = id;
	}
	
	public int getTilesetId()
	{
		return m_tilesetid;
	}
	
	public void setUserId(int id)
	{
		m_userid = id;
	}
	
	public int getUserId()
	{
		return m_userid;
	}
	
	public void setSpriteId(int id)
	{
		m_spriteid = id;
	}
	
	public int getSpriteId()
	{
		return m_spriteid;
	}
	
	public void setName(String name)
	{
		m_name = name;
	}
	
	public String getName()
	{
		return m_name;
	}
	
	public void setTimeStamp(String timestamp)
	{
		m_timestamp = timestamp;
	}
	
	public String getTimeStamp()
	{
		return m_timestamp;
	}
}
